﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DONGACS.Domain;
using QLPKWeb.BussinessDelegate.Base;
using QLPKWeb.Models.FormBean.PhanQuyen;
using DONGACS.Common;
using DONGACS.DTO;
using DONGACS.SERVICE;

namespace QLPKWeb.BussinessDelegate.PhanQuyen
{
    public class UserInJobTitleInDepartmentServiceDelegate : BaseServiceDelegate<UserInJobTitleInDepartmentDto, UserInJobTitleInDepartment>
    {
        UserInJobTitleInDepartmentService UserInJobTitleInDepartmentService = new UserInJobTitleInDepartmentService();

        public IList<UserInJobTitleInDepartmentDto> GetUserInJobTitleInDepartmentByUserId(string userId)
        {
            return this.UserInJobTitleInDepartmentService.GetUserInJobTitleInDepartmentByUserId(userId);
        }

        public bool DeleteUserInJobTitleInDepartmentByUserId(string userId)
        {
            return this.UserInJobTitleInDepartmentService.DeleteUserInJobTitleInDepartmentByUserId(userId);
        }
    }
}
